home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.2 KB | 108 lines | [TEXT/MPS ] |
- /*
- File: Navigation.idl
-
- Contains: Navigation Services Interfaces
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __NAVIGATION_IDL__
- #define __NAVIGATION_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __APPLEEVENTS_IDL__
- #include <AppleEvents.idl>
- #endif
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
- #ifndef __EVENTS_IDL__
- #include <Events.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
- #ifndef __SCRIPT_IDL__
- #include <Script.idl>
- #endif
- #ifndef __TEXTOBJECTS_IDL__
- #include <TextObjects.idl>
- #endif
- #ifndef __TIMEOBJECTS_IDL__
- #include <TimeObjects.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_COOPERATIVE
- #if FOR_PTR_BASED_AE
- /* Values for the "action" parameter of NavAskSaveChanges */
- typedef UInt16 NavAskSaveChangesAction;
-
- /* NavFileInfo is the part of NavFileOrFolderInfo for files */
- typedef SOMLargeStruct NavFileInfo; /* Derived from a struct of 44 bytes in size */
-
- /* NavFolderInfo is the part of NavFileOrFolderInfo for folders and volumes */
- typedef SOMLargeStruct NavFolderInfo; /* Derived from a struct of 42 bytes in size */
-
- /* NavFileOrFolderInfo is the structure passed to your filter proc for typeFSS AEDescs */
- typedef SOMLargeStruct NavFileOrFolderInfo; /* Derived from a struct of 120 bytes in size */
-
- typedef OpaquePtr NavEventProcPtr;
- typedef OpaquePtr NavEventUPP;
- typedef OpaquePtr NavObjectFilterProcPtr;
- typedef OpaquePtr NavObjectFilterUPP;
- typedef SOMLargeStruct NavDialogOptions; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct NavReplyRecord; /* Derived from a struct of 10 bytes in size */
-
- /* return values from NavAskSaveChanges, NavCustomAskSaveChanges */
- typedef UInt16 NavAskSaveChangesResult;
-
- /*
- To specify which types of data you are willing to receive, use the NavTypeList.
- *
- * This is not a list of file types; that must be specified in an 'open' resource
- * if you are displaying files, or you can use a filter procedure. It is a list of
- * AEDesc types. Only items which can be coerced to these descriptor types will be
- * displayed in the list, descended into as containers, or returned in a reply.
- * The list is terminated by a null entry and may be of any length. At present
- * only typeFSS and typeAlias are supported.
- *
- * If you include typeAlias in the list, then aliases of all types will be allowed,
- * and aliases will not be resolved before they are given to you. Otherwise, aliases
- * will be resolved internally and you will be passed their resolved AEDescs if
- * they can be coerced into one of the types you want.
- */
- typedef OpaquePtr NavTypeList; /* Substituted OpaquePtr for array of DescType of size 4 */
-
- typedef OpaquePtr ConstNavTypeListPtr; /* Substituted OpaquePtr for “DescType*” */
-
- /*
- * Navigation Services Dialogs
- */
- /*
- * Generating unique file names
- */
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __NAVIGATION_IDL__ */
-
-